<?php
namespace wechat\controllers;

use Yii;
use yii\web\Controller;
use yii\helpers\ArrayHelper;

use common\models\WxGh;
use common\models\MktUser;

use wechat\models\Wechat;

class SiteController extends Controller
{
    public $enableCsrfValidation = false;    

    public function actionIndex($gh_id=WxGh::DEFAULT_GH_ID) {
        $wechat = new Wechat();
        return $wechat->run($gh_id);
    }    
}
